package org.jeecg.modules.oa.service;

import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.oa.entity.OaReportPlan;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * @Description: 周报子表
 * @Author: jeecg-boot
 * @Date: 2019-09-17
 * @Version: V1.0
 */
public interface IOaReportPlanService extends IService<OaReportPlan> {
    void savePlanWeek(String pid, Date workDateFrom, Date workDateTo, List<OaReportPlan> WeekList,String planStatus);

    List<OaReportPlan> getReportWeekPlanById(String pid);

    int deleteById(String pid);

    List<OaReportPlan> getByParentIdAndPlanStatus0(String id);

    List<OaReportPlan> getByParentIdAndPlanStatus1(String id);

    List<OaReportPlan> getThisWeekPlan(String createId, Date lastWeekDate);
}
